package com.study.mapper;

import com.study.dto.SchoolCounties;
import com.study.entity.School;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SchoolMapper {
    int deleteByPrimaryKey(Long schoolId);

    int insert(School row);

    int insertSelective(School row);

    School selectByPrimaryKey(Long schoolId);

    int updateByPrimaryKeySelective(School row);

    int updateByPrimaryKeyWithBLOBs(School row);

    int updateByPrimaryKey(School row);

    List<SchoolCounties> page(@Param("countiesName") String countiesName, @Param("schoolName") String schoolName);

    List<School> selects(School school);

    List<School> select();
}